package com.itheima.huikebackend.service;

import com.itheima.huikebackend.dto.CluePoolDTO;
import com.itheima.huikebackend.entity.ClueTrackRecord;
import com.itheima.huikebackend.entity.TbBusiness;
import com.itheima.huikebackend.entity.TbClue;
import com.itheima.huikebackend.vo.ClueSelectIdVO;

import java.util.List;
import java.util.Map;

public interface TbClueService {
    /**
     * 列表
     *
     * @param tbClue 线索页面dto
     * @return {@link Map}
     */
    Map list(TbClue tbClue);

    /**
     * 创建
     *
     * @param tbClue 结核病线索创造dto
     */
    void create(TbClue tbClue);

    /**
     * 查询
     *
     * @param id id
     * @return {@link TbClue}
     */
    ClueSelectIdVO query(Long id);

    /**
     * 查询列表
     *
     * @param clueId 线索id
     * @return {@link List}<{@link TbBusiness}>
     */
    List<ClueTrackRecord> queryList(Long clueId);

    /**
     * 池列表
     *
     * @param cluePoolDTO 线索池dto
     * @return {@link Map}
     */
    Map poolList(CluePoolDTO cluePoolDTO);
}
